html,body{
    background:#f5f5f5;
    overflow-x: hidden;
}
.container{
    overflow: hidden;
    position: relative;
    width: 850px;
    height: 393px;
    margin: 0 auto;
    padding-bottom: 80px;
    background: #fff;
    margin-top: 60px;
    margin-bottom: 40px;
}
.logo{
    position: absolute;
    left: 50%;
    margin-left: -78px;
    top: 34px;
    background: url(https://account.nubia.com/res1/images/nubia-logo.png) no-repeat;
    background-position: 0 -55px;
    width: 156px;
    height: 55px;   
}
.nav-tab{
    /* background: red; */
    height: 24px;
    text-align: center;
    position: absolute;
    top: 95px;
    left: 50%;
    margin-left: -142px;
}
.nav-tab ul{
    height: 24px;   
}
.nav-tab ul li{
    float: left;
    height: 24px;
    text-align: center;
}
.nav-tab ul li:nth-child(2){
    margin-left: 14px;
    margin-right: 15px;
}
.nav-tab ul li a{
    display: inline-block;
    font-size: 18px;
    text-decoration: none;
    color: #333
}

/*登录表单(账号登录)
--------------------------------------------------------------------------*/
.form-wrapper{
    /* position: relative; */
    width: 370px;
    height: 278px;
    /* border: 1px solid red; */
    margin: 0 auto;
    margin-top: 138px;
    /* padding-bottom: 40px; */
    /* box-sizing: border-box */
}
.form-wrapper input{
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding-left: 10px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}
.form-wrapper .input-text-desc{
    display: none;
    position: absolute;
    top: 154px;
    right: 160px;
    font-size: 12px;
    color: #f00;
}
.form-wrapper button{
    width: 100%;
    height: 50px;
    background: #e8380d;
    border: none;
    font-size: 20px;
    font-family: '宋体';
    color: #fff;
    margin-bottom: 20px;
    cursor: pointer;
}
.form-wrapper .form2 .input-cptcha{
    float: left;
    width: 245px;
}
.form-wrapper .form2 .input-img{
    float: left;
    margin-left: 4px;
}
.form-wrapper .form2 .input-img img{
    width: 120px;
    height: 48px;
}
.form-wrapper .form2 .input-phone{
    float: left;
    width: 72%;
}
.form-wrapper .form2 button{
    float: left;
    width: 100px;
    height: 50px;
    font-size: 12px;   
    border: 1px solid #ccc;
    border-left: none;
    background: #fff;
    color: #333;
}
.form-wrapper .input-cptcha-desc2,.input-phone-desc3{
    display: none;
    position: absolute;
    top: 154px;
    right: 160px;
    font-size: 12px;
    color: #f00;
}
.form-wrapper .input-cptcha-desc2{
    top: 225px;
}
.form-wrapper .input-phone-desc3{
    top: 296px;
    right: 136px;
}
/*注册新账号/忘记密码
-----------------------------------------------------------------------*/
.form-wrapper ul{
    width:370px;
    height: 24px;
    /* border: 1px solid red; */
    text-align: right;
}
.form-wrapper ul li{
    display: inline-block;
    /* float: left; */
    height: 24px;
}
.form-wrapper ul li:nth-child(2){
    margin-left: 10px;
    margin-right: 10px;
}
.form-wrapper ul li a{
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.form-wrapper ul li a:hover{
    text-decoration: underline;
}

/*其他登录方式
-----------------------------------------------------------------*/
.others{
    box-sizing: border-box;
    /* border: 1px solid red; */
    overflow: hidden;
    padding-top: 8px;
}
.others .others-desc{
    float: left;
    line-height: 40px;
    font-size: 14px;
}
.others .imgs-wrapper{
    /* border: 1px solid yellow; */
    float: left;

}
.others .imgs-wrapper span{
    /* border: 1px solid red; */
    display: block;
    float: left;
    width: 28px;
    height: 28px;
    margin-left: 15px;
}
.others .imgs-wrapper span:nth-child(1) a{
    background: url(https://account.nubia.com/res1/images/third_login.png) no-repeat -59px -1px;
    display: block;
    width: 28px;
    height: 28px;
}
.others .imgs-wrapper span:nth-child(1) a:hover{
    background: url(https://account.nubia.com/res1/images/third_login.png) no-repeat -59px -30px;
    display: block;
    width: 28px;
    height: 28px;
}
.others .imgs-wrapper span:nth-child(2) a{
    background: url(https://account.nubia.com/res1/images/third_login.png) no-repeat -88px -1px;
    display: block;
    width: 28px;
    height: 28px;
}
.others .imgs-wrapper span:nth-child(2) a:hover{
    background: url(https://account.nubia.com/res1/images/third_login.png) no-repeat -88px -30px;
    display: block;
    width: 28px;
    height: 28px;
}
.others .imgs-wrapper span:nth-child(3) a{
    background: url(https://account.nubia.com/res1/images/third_login.png) no-repeat -30px -1px;
    display: block;
    width: 28px;
    height: 28px;
}
.others .imgs-wrapper span:nth-child(3) a:hover{
    background: url(https://account.nubia.com/res1/images/third_login.png) no-repeat -30px -30px;
    display: block;
    width: 28px;
    height: 28px;
}
.others .imgs-wrapper span:nth-child(4) a{
    background: url(https://account.nubia.com/res1/images/third_login.png) no-repeat -1px -1px;
    display: block;
    width: 28px;
    height: 28px;
}
.others .imgs-wrapper span:nth-child(4) a:hover{
    background: url(https://account.nubia.com/res1/images/third_login.png) no-repeat -1px -30px;
    display: block;
    width: 28px;
    height: 28px;
}

/*底部区域
------------------------------------------------------------------*/
.footer{
    /* background: red; */
    width: 100%;
    height: 80px;
    color: #ccc;
}
.footer .footer-info{
    text-align: center;
    font-size: 12px;
}
.footer .footer-info a{
    color: #ccc;
    text-decoration: none;
    
}
.footer .footer-info a:hover{
    color: #333;
    text-decoration: underline;
    transition: all 0.4s ease-in-out;
}